package org.chen.spring.core.processor;

/**
 * Bean初始化后处理器
 *
 * @author Chen
 * @since 2023/6/8 15:09
 */
public interface BeanPostProcessor {

    /**
     * 初始化的前处理
     * @param bean bean对象
     * @param beanName beanName
     */
    Object postProcessBeforeInitialization(Object bean, String beanName);

    Object postProcessAfterInitialization(Object bean, String beanName);

}
